package chapter4.staticmethod;

/**
 * Created with IntelliJ IDEA.
 * Description:
 *
 * @author lzy
 * @create 2019-03-20 下午3:27
 */
public class SubClass extends Base {
    public static int add(int a) {
        return a + 10;
    }

    public static int add(int a, int b, int c) {
        return a + b + c;
    }

    public static void main(String[] args) {
        Base base = new SubClass();
        int add = base.add(1);
        System.out.println(add);

    }

}
